#include "vector.h"

Vector::Vector(float x, float y){
    v[0]=x;
    v[1]=y;
    v[2]=1;
}

Vector::~Vector(){}

float& Vector:: operator[](int num){
    return this->v[num];
}


float Vector:: operator[](int num)const{
    return this->v[num];
}
